﻿using System;
namespace Core
{
    public class Component:IDisposable
    {
        Entity parent;
        public Entity Parent
        {
            get
            {
                return parent;
            }
            internal set
            {
                parent = value;
            }
        }
        //protected Component() { }
        public virtual void Dispose()
        {
            parent = null;
        }
    }
}

